<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/7/5
  Time: 11:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<html>
<head>
<title>投票结果</title>
<script type="text/javascript" src="JS/jquery-1.8.3.js"></script>
<script src="CSS/bootstrap.min.js"></script>
<link rel="stylesheet" href="CSS/bootstrap.css">
<style type="text/css">
#all {
	padding-left: 300px;
}

h4 {
	text-align: center;
}

span {
	display: inline-block;
}
</style>
</head>
<body>

	<%@include file="top.jsp"%>
	<h4>语言选择投票结果:</h4>
	<div id="all">
		Java:
		<div class="progress progress-striped active">
			<div class="progress-bar progress-bar-success" role="progressbar"
				aria-valuenow="40" aria-valuemin="0" aria-valuemax="100"
				style="width: ${requestScope.result[0].times}">
				<span class="sr-only">${requestScope.result[0].times}
					Complete (success)</span>
			</div>
		</div>
		C:
		<div class="progress progress-striped active">
			<div class="progress-bar progress-bar-info" role="progressbar"
				aria-valuenow="20" aria-valuemin="0" aria-valuemax="100"
				style="width: ${requestScope.result[1].times}">
				<span class="sr-only">${requestScope.result[1].times}
					Complete</span>
			</div>
		</div>
		Ruby:
		<div class="progress progress-striped active">
			<div class="progress-bar progress-bar-warning" role="progressbar"
				aria-valuenow="60" aria-valuemin="0" aria-valuemax="100"
				style="width: ${requestScope.result[2].times}">
				<span class="sr-only">${requestScope.result[2].times}
					Complete (warning)</span>
			</div>
		</div>
		Pthyon:
		<div class="progress progress-striped active">
			<div class="progress-bar progress-bar-danger" role="progressbar"
				aria-valuenow="80" aria-valuemin="0" aria-valuemax="100"
				style="width: ${requestScope.result[3].times}">
				<span class="sr-only">${requestScope.result[3].times}
					Complete (danger)</span>
			</div>
		</div>
		PHP:
		<div class="progress progress-striped active">
			<div class="progress-bar progress-bar-success" role="progressbar"
				aria-valuenow="80" aria-valuemin="0" aria-valuemax="100"
				style="width: ${requestScope.result[4].times}">
				<span class="sr-only">${requestScope.result[4].times}
					Complete (danger)</span>
			</div>
		</div>
		<a class="btn btn-default" href="vote.jsp">返回</a>
	</div>
	
</body>
</html>
